import React, {FC} from 'react';
import {Button} from "antd";

const App:FC = () => {
    return (
        <>
            <Button type="primary">Primary Button</Button>
            <Button>Default Button</Button>
            <Button type="dashed">Dashed Button</Button>
            <br />
            <Button type="text">Text Button</Button>
            <Button type="link">Link Button</Button>
        </>
    )
}
// 方式1：
// function App(props:any) {
//     return (
//         <div></div>
//     );
// }

export default App;